home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 003-desktop.lzm / etc / default / rscsi < prev   
Encoding:
Text File  |  2008-10-08  |  2.1 KB  |  65 lines

  1. #ident @(#)rscsi.dfl    1.3 05/08/09 Copyr 2000 J. Schilling
  2. #
  3. # This file is /etc/default/rscsi
  4. #
  5. # NOTE: If this file is not present, rscsi will reject to work.
  6. #
  7. # If no USER= entry is present, only root is allowed to run rscsi.
  8. # If no ACCESS= entry is present, no device may to be used by remote users.
  9.  
  10. # The file where debug info should go to.
  11. # If you don't like debugging (e.g. for speed) comment out
  12. # the this line.
  13. #
  14. # Note that rscsi runs as root and thus may be able to overwrite any file.
  15. # Be sure not to allow other people to replace the debug file by a symlink
  16. # to e.g. /etc/passwd. If your system supports append only directories, this
  17. # may be done by "chmod +t /tmp". If you are not sure, do never use /tmp
  18. # but a different directory that is safe against modifications by non root
  19. # users.
  20. #
  21. #DEBUG=/tmp/RSCSI
  22.  
  23. #
  24. # Each USER= entry adds the listed user to the users who may run rscsi
  25. #
  26. # A typical passwd entry looks like this:
  27. # rscsi:x:1999:1000:Remote SCSI:/export/home/rscsi:/opt/schily/sbin/rscsi
  28. #
  29. # Add entries for all valid remote users to /export/home/rscsi/.rhosts
  30. #
  31. # USER= entries are checked with a pattern matcher. USER=* matches all users.
  32. #
  33. USER=rscsi
  34. #USER=joerg
  35.  
  36. #
  37. # Each ACCESS= entry adds a target or group of targets to the list of visible
  38. # targets for all users that do remote SCSI access from a specific host.
  39. #
  40. #    Username is the name of the user that runs rscsi. If you create
  41. #    different users, you may assign different permissions to different
  42. #    users from the same host.
  43. #
  44. #    Hostname must be in the same notation as needed for .rhosts (e.g. in
  45. #    the way you will be listed by 'who' if you log in from this host).
  46. #
  47. #    bus/chan/target/lun are the numbers from the scanbus output from
  48. #    cdrecord or sformat. If you use -1, you allow any value for this
  49. #    placeholder.
  50. #
  51. #     local user name and remote host name are checked with a pattern matcher.
  52. #    ACCESS=*    * .... matches all users from all hosts.
  53. #
  54. #    NOTE: chan is currently not implementd (set it to 0 or -1)
  55. #
  56. #    local    remote
  57. #    user    host    bus    chan    target    lun
  58. #    name    name
  59. #
  60. #ACCESS=rscsi    sparky    -1    -1    -1    -1
  61. #ACCESS=rscsi    sparky    0    -1    6    -1
  62. #ACCESS=rscsi    sparky    1    -1    3    -1
  63. #ACCESS=rscsi    sparky    1    -1    4    -1
  64.